﻿using static Modules.Device.CheckInDeviceConstants;

namespace ManagementApi.Services.DeviceImport
{
    public class DeviceImportForm
    {
        /// <summary>
        /// 项目id
        ///</summary>
        public int ProjectId { get; set; }

        /// <summary>
        /// 所属企业Id
        ///</summary>
        public int CorpId { get; set; }

        public string CorpName { get; set; } = string.Empty;

        public string CorpCode { get; set; } = string.Empty;

        /// <summary>
        /// 设备类型(海清......)
        ///</summary>
        public string Type { get; set; }

        /// <summary>
        /// 设备名称
        ///</summary>
        public string Name { get; set; }

        /// <summary>
        /// 设备序列号(设备编号)
        ///</summary>
        public string Code { get; set; }

        /// <summary>
        /// 有效起始日期
        ///</summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 有效截至日期
        ///</summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 进出(1 进  2 出)
        ///</summary>
        public string InOut { get; set; }

        /// <summary>
        /// 设备型号
        ///</summary>
        public string? Model { get; set; }

        /// <summary>
        /// 设备版本
        ///</summary>
        public string? Version { get; set; }

        /// <summary>
        /// 备注
        ///</summary>
        public string? Remark { get; set; }

        /// <summary>
        /// ip地址
        ///</summary>
        public string IpAddress { get; set; }

        /// <summary>
        /// 平台 ProductKey 标识，用于绑定对应账号 (用户名)
        /// </summary>
        public string? User { get; set; }

        /// <summary>
        /// 平台ProductSecret标识，用于绑定对应账号 （密码）
        /// </summary>
        public string? Pwd { get; set; }
    }
}